home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-06-20 | 2.0 KB | 73 lines | [TEXT/MPS ] |
- ;------------------------------------------------------------------------------
- ;
- ; FILENAME
- ; ChooserSupport.a
- ;
- ; DESCRIPTION
- ; Contains the code to form the first part of the Chooser 'PACK' for
- ; this driver.
- ;
- ; COPYRIGHT
- ; Copyright © 1995 Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Modification history
- ; 06/14/95 - Dave Hersey - Version 1.0.3 to fix a bug in
- ; CustomBufferingAndIO.c when creating
- ; high-res PICTs, and to make the size
- ; of buffers more flexible.
- ;
- ; 05/26/95 - Dave Hersey - Version 1.0.2 to add the new 'outp'
- ; desktop printer resource in NewApp.c.
- ;
- ; 05/03/95 - Dave Hersey - Version 1.0.1 to fix some minor bugs in
- ; CustomBufferingAndIO.c.
- ;
- ; 01/14/95 - Dave Hersey - Created from the shell of a hollowed-out
- ; ImageWriter driver.
- ;
- ;------------------------------------------------------------------------------
-
- STRING ASIS
- CASE OBJ
-
- kAppleTalkDevice EQU $80000000
- kIsPAPDevice EQU $40000000
- kIsPostScriptDevice EQU $20000000
- kMultiSelect EQU $10000000
- kLeftButton EQU $08000000
- kRightButton EQU $04000000
- kNoSavedZone EQU $02000000
- kActualZoneNames EQU $01000000
- kNoIntlChars EQU $00800000
- kEvenUpName EQU $00400000
- kLengthOnRename EQU $00200000
- kUsesOnAndOff EQU $00100000
- kNoSetSelfSend EQU $00080000
- kUnused18 EQU $00040000
- kAcceptsInit EQU $00020000
- kAcceptsNewSel EQU $00010000
- kAcceptsFillList EQU $00008000
- kAcceptsGetSel EQU $00004000
- kAcceptsSelect EQU $00002000
- kAcceptsDeselect EQU $00001000
- kAcceptsTerminate EQU $00000800
-
- IMPORT DEVICE ; our device routine (from ChooserSupport.c)
-
- EntryPoint PROC EXPORT
- BRA.S DEVICE ; branch to our actual code
- DC.W 169 ; device ID
- DC.L 'PACK' ; device type
- DC.W $F000 ; master ID for resources (-4096)
- DC.W 2 ; version
- DC.L kLeftButton+kUsesOnAndOff+kAcceptsInit+kAcceptsTerminate
-
- gJob PROC EXPORT
- DC.L 0 ; gxJob global
-
- gDriverName PROC EXPORT
- DS.B 32 ; driver name storage
-
- END
-